package com.ruoyi.project.system.membershareslogan.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户分享标语对象 member_share_slogan
 * 
 * @author LCL
 * @date 2021-10-20
 */
public class MemberShareSlogan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String memberId;

    /** 标语 */
    @Excel(name = "标语")
    private String slogan;

    /** 是否选择：0-否 1-是 */
    @Excel(name = "是否选择：0-否 1-是")
    private Integer isChoice;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 排序 */
    private Integer sort;

    /** 删除标记：0-正常 1-删除 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setSlogan(String slogan) 
    {
        this.slogan = slogan;
    }

    public String getSlogan() 
    {
        return slogan;
    }
    public void setIsChoice(Integer isChoice) 
    {
        this.isChoice = isChoice;
    }

    public Integer getIsChoice() 
    {
        return isChoice;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("slogan", getSlogan())
            .append("isChoice", getIsChoice())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("sort", getSort())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
